package com.ts.animal.task;

import com.ts.animal.service.BaseStationService;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

//基站数据批量入库
//com.ts.animal.task.BaseStationDataBatchSaveJob
@Component
public class BaseStationDataBatchSaveJob implements Job {
    @Autowired
    BaseStationService baseStationService;

    @Override
    public void execute(JobExecutionContext arg0) throws JobExecutionException {
        baseStationService.batchSaveData();
    }
}
